package com.cxria.springboottest.conf

import org.springframework.boot.context.properties.ConfigurationProperties

@ConfigurationProperties("spring.thymeleaf")
class ThymeleafConfig {

    static final String DEFAULT_PREFIX = 'classpath:/templates/'
    static final String DEFAULT_SUFFIX = '.html'

    String prefix = DEFAULT_PREFIX
    String suffix = DEFAULT_SUFFIX
    String mode = 'HTML5'
    String encoding = 'UTF-8'
    String contentType = 'text/html'
    boolean cache = false

}
